cmake_minimum_required(VERSION 2.6)

set(CMAKE_C_COMPILER arm-linux-gcc)
set(CMAKE_CXX_COMPILER arm-linux-g++)

PROJECT(chipmind)

MESSAGE(STATUS " PROJECT_SOURCE_DIR: " ${PROJECT_SOURCE_DIR})
MESSAGE(STATUS " PROJECT_BINARY_DIR: " ${PROJECT_BINARY_DIR})

#OpenSSL lib path
set( CM_OPENSSL_DIR /usr/local/arm/4.4.1/openssl)

#Poco C++ lib path
set( CM_POCO_DIR /home/shibo/work/poco/poco_arm/poco-1.3.6p2-all )


ADD_SUBDIRECTORY(cm_base)
ADD_SUBDIRECTORY(cm_xmpp)
ADD_SUBDIRECTORY(cm_nat)
ADD_SUBDIRECTORY(cm_media)

ADD_SUBDIRECTORY(test_case)